<span id="${uuid}" style="display: none"></span>

<div data-id="content" class="box_tc_s">
    <form data-id="form-org-update-info" method="post"
          action="${pageContext.request.contextPath}/app/api/organization/update"
          name="form-org-update">
        <table border="1" cellpadding="0" cellspacing="0" class="hydra-table">
            <tr class="hydra-tr-bg">
                <td class="hydra-left">小组名称：</td>
                <td class="hydra-right">
                    <input name="id" value="${organization.id}" type="hidden"/>
                    <input name="orgName" data-id="orgName"
                           class="easyui-validatebox hydra-input-width"
                           data-options="required:true,validType:['normalChar','length[0,20]']"
                           value="${organization.orgName }"/>
                    <input type="hidden" name="isTempOrganization" value="0"/>  
                </td>
            </tr>
            <tr class="hydra-tr-bg">
                <td class="hydra-left">所属科室：</td>
                <td class="hydra-right">
                    <select data-id="depBelong" name="depBelong.id" data-options="required:true"
                            class="easyui-validatebox hydra-input-width"></select>
                </td>
            </tr>
            <tr>
                <td class="hydra-left">备注：</td>
                <td class="hydra-right">
                    <textarea
                            data-id="orgJobs" name="orgJobs"
                            class="easyui-validatebox hydra-textarea hydra-input-width" draggable="false"
                            data-options="validType:['normalChar','length[0,200]']"
                            placeholder="备注..">${organization.orgJobs}</textarea>
            </tr>
            <tr>
                <td class="hydra-left">状态：</td>
                <td class="hydra-right">
                    <input type="checkbox" data-id="available" name="available" <c:if test="${organization.available eq 1}">checked</c:if>/>
                </td>
            </tr>

        </table>
    </form>
</div>
<script language="javascript">
    seajs.use(["apps/org/main"], function (page) {
        page.update("${pageContext.request.contextPath}", "${uuid}", {
            depBelongId: "${organization.depBelong.id}"
        });
    });
</script>


